//登陆
let loginReducers = (state = {rescode:1}, action) => {
   
    return Immer(state, draft => {
        switch (action.type) {
            // 权限部分
            case ActionTypes.LOGIN.getLoginState:
                draft.rescode = action.payload;
                break
            case ActionTypes.LOGIN.getUserInfo:
                draft.rescode = action.payload;
                break
        }
    })
}
export default { loginReducers };















